<?php
/**
 * ExtTabScrollerMenu class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtTabScrollerMenu extends ExtTabScrollerMenuBase
{
    /**
     * Gets the value of ExtJS maxText property
     * @return Number 
     */
    public function getMaxText()
    {
    	return $this->getConfig("maxtext");
    }

    /**
     * Sets the value of ExtJS maxText property
     * @param Number $value 
     */
    public function setMaxText($value)
    {
    	$this->setConfig("maxtext",$value);
    }

    /**
     * Gets the value of ExtJS menuPrefixText property
     * @return String 
     */
    public function getMenuPrefixText()
    {
    	return $this->getConfig("menuprefixtext");
    }

    /**
     * Sets the value of ExtJS menuPrefixText property
     * @param String $value 
     */
    public function setMenuPrefixText($value)
    {
    	$this->setConfig("menuprefixtext",$value);
    }

    /**
     * Gets the value of ExtJS pageSize property
     * @return Number 
     */
    public function getPageSize()
    {
    	return $this->getConfig("pagesize");
    }

    /**
     * Sets the value of ExtJS pageSize property
     * @param Number $value 
     */
    public function setPageSize($value)
    {
    	$this->setConfig("pagesize",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'maxtext' => 'maxText',
            'menuprefixtext' => 'menuPrefixText',
            'pagesize' => 'pageSize'
        ));



        $this->setXType('tabscrollermenu');
        $this->setXClass('Ext.ux.TabScrollerMenu');
    }    
}
?>